package com.huiyuanai.film.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 灰原哀
 * @since 2022-05-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Orderitem implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单项id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 电影id
     */
    private Integer mid;

    /**
     * 所属订单id
     */
    private Integer oid;

    /**
     * 购买总数
     */
    private Integer buycount;

    /**
     * 座位情况
     */
    private String seatinfo;

    /**
     * 订单项价格
     */
    private BigDecimal price;


}
